#!/bin/sh
lib=ctags-5.8
package=$lib.tar.gz
source ../../../var.install
ShowInstallPackage $package

if [ ! -f $package ] ;
then
	echo "downloading $package...."
	wget prdownloads.sourceforge.net/ctags/$pakcage
fi
if [ ! -d $lib ];
then
	echo "unpackage $pakcage"
	tar -zxvf $package
fi

if [ -f $lib/Makefile ];
then
        cd $lib
	echo "make && make install"
	make && make  install
        cd ..
else
	echo "configure $lib"
        cd $lib
	./configure
	echo "make && make install"
	make && make  install
        cd ..

fi
#ctags -R --c++-kinds=+px --fields=+iaS --extra=+fq --excmd=p
